/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client.modele;

import Exceptions.InputAnnuiteException;
import Exceptions.InputChoixException;
import Exceptions.InputMontantException;
import Exceptions.InputNbAnException;
import Exceptions.InputTxInteretException;
import exception.CommunicationResponseException;
import exception.ReadingObjectException;

/**
 *
 * @author KB
 */
public interface InterfaceProtocoleClient {
    
    public void envoyerDemandeAnnuites(Double montant, Double tauxInteret, int nbAnnees) throws CommunicationResponseException;
    
    public void envoyerDemandeNbAnnees(Double montant, Double tauxInteret, Double annuite) throws CommunicationResponseException;
    
    public double recevoirReponse() throws CommunicationResponseException, ReadingObjectException, 
                                        InputChoixException, InputMontantException, 
                                        InputNbAnException, InputTxInteretException, 
                                        InputAnnuiteException;
 }
